package com.stylefeng.guns.modular.train.service;

import com.stylefeng.guns.common.persistence.model.Employee;
import com.baomidou.mybatisplus.service.IService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jondai
 * @since 2017-12-21
 */
public interface IEmployeeService extends IService<Employee> {
	Employee selectByCode(String empCode);

	List<String> selectEmpCodes(Map<String,Object> condition);
	/**
	 * 填充员工数据
	 * @param employee
	 * @param orgMap
	 * @return
	 */
	void fillExcelImportData(Employee employee, Map<String, List> orgMap) throws Exception;

	Set<String> getEmpCode();

	Map<String,String> getNameAndCode();
	void cleanData(String table);
}
